﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ast = YAPL.Language.Ast;
namespace YAPL.Language.Compiler.CodeGen.ReflectionEmitGenerator.AstGen {
	public abstract class ReExpressionGenerator {
		private readonly ReCodeGenerator _generator;

		protected ReExpressionGenerator(ReCodeGenerator generator) {
			_generator = generator;
		}

		public ReCodeGenerator Generator {
			get { return _generator; }
		}

		public abstract void Generate(Ast.Expression expr);
	}
}
